﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;

namespace YaAppoint
{
    /// <summary>
    /// 申请单仓储接口
    /// （自定义仓储）
    /// </summary>
    public interface IApplyItemViewRepository:IRepository
    {
        /// <summary>
        /// 获取指定申请单
        /// </summary>
        /// <param name="outerCodes"></param>
        /// <returns></returns>
        Task<List<ApplyItemView>> GetListByOuterCodesAsync(string[] outerCodes);

        /// <summary>
        /// His的申请单高级查询
        /// </summary>
        /// <param name="preicate"></param>
        /// <returns></returns>
        Task<List<ApplyItemView>> GetListByExpress(Expression<Func<ApplyItemView,bool>> preicate);
    }
}
